tmem: cleanup: drop useless functions from header file
authorBob Liu <lliubbo@gmail.com>
Thu, 12 Dec 2013 11:05:11 +0000 (19:05 +0800)
committerJan Beulich <jbeulich@suse.com>
Wed, 8 Jan 2014 07:54:18 +0000 (08:54 +0100)
commitf7b92a1a9545ad83788c5305deb723ac075e47ff
tree8e761f785156fe2e2d0af3adcd4a126a0738d9b8
parentcace8e75b0bc67c72658cc4cc272482bd27582d9
tmem: cleanup: drop useless functions from header file

They are several one line functions in tmem_xen.h which are useless, this patch
embeded them into tmem.c directly.
Also modify void *tmem in struct domain to struct client *tmem_client in order
to make things more straightforward.

Signed-off-by: Bob Liu <bob.liu@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/common/domain.c
xen/common/tmem.c
xen/include/xen/sched.h
xen/include/xen/tmem_xen.h